#!/usr/bin/env python
#-*- coding:utf-8 -*-
'''
__author-default__ = 'Pup--->>WX_l599p22'
__cttime-default__ = '20170721'
'''

from flask import Flask
from flask_restful import Api,Resource
# from flask.ext import restful.Api

app = Flask(__name__)
api = Api(app)

class HelloWorld(Resource):
	def get(self):
		return {'hello':'world'}

api.add_resource(HelloWorld,'/')

if __name__=='__main__':
	app.run()